export function btnPreventReClick(app) {
  ////按钮权限
  app.directive("preventReClick", {
    mounted(el, binding) {
			el.addEventListener('click', () => {
				if (!el.disabled) {
					el.disabled = true
					setTimeout(() => {
						el.disabled = false
					}, 500)
				}
			})
    },
  });
}
